package com.zqh.app.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class User extends SysOrder{
    private Integer userId;

    private String username;

    private String password;

    private String thOpenid;

    private String qqOpenid;

    private String wbOpenid;

    private String mobile;

    private Integer sungoId;

    private String nickname;

    private String headPortrait;

    private Date addTime;

    private Date birthday;

    private String sex;

    private String height;

    private String weight;

    private String label;

    private String appVersions;

    private Integer orgId;

    private String orgName;

    private String location;

    private String jiguangId;

    private String phoneModel;

    private String nums;

    private String userLabel;

    private String remark;

    private String deviceName;

    private String scoreSprite;

    private String scoreViscera;

    private String scoreSport;

    private String scoreSleep;

    private Date timeViscera;

    private Date timeSprite;

    private Date timeSleep;

    private Date timeSport;

    private String sysUserLabel;

    private String continue_all;

    private String city;

    private String customerName;

    private Integer customerServiceId;

    private String groups;

    public User(Integer userId, String username, String password, String thOpenid, String qqOpenid, String wbOpenid, String mobile, Integer sungoId, String nickname, String headPortrait, Date addTime, Date birthday, String sex, String height, String weight, String label, String appVersions, Integer orgId, String location, String jiguangId, String phoneModel) {
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.thOpenid = thOpenid;
        this.qqOpenid = qqOpenid;
        this.wbOpenid = wbOpenid;
        this.mobile = mobile;
        this.sungoId = sungoId;
        this.nickname = nickname;
        this.headPortrait = headPortrait;
        this.addTime = addTime;
        this.birthday = birthday;
        this.sex = sex;
        this.height = height;
        this.weight = weight;
        this.label = label;
        this.appVersions = appVersions;
        this.orgId = orgId;
        this.location = location;
        this.jiguangId = jiguangId;
        this.phoneModel = phoneModel;
    }

    public User() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getThOpenid() {
        return thOpenid;
    }

    public void setThOpenid(String thOpenid) {
        this.thOpenid = thOpenid == null ? null : thOpenid.trim();
    }

    public String getQqOpenid() {
        return qqOpenid;
    }

    public void setQqOpenid(String qqOpenid) {
        this.qqOpenid = qqOpenid == null ? null : qqOpenid.trim();
    }

    public String getWbOpenid() {
        return wbOpenid;
    }

    public void setWbOpenid(String wbOpenid) {
        this.wbOpenid = wbOpenid == null ? null : wbOpenid;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public Integer getSungoId() {
        return sungoId;
    }

    public void setSungoId(Integer sungoId) {
        this.sungoId = sungoId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getHeadPortrait() {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait) {
        this.headPortrait = headPortrait == null ? null : headPortrait.trim();
    }

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public String getAppVersions() {
        return appVersions;
    }

    public void setAppVersions(String appVersions) {
        this.appVersions = appVersions == null ? null : appVersions.trim();
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public String getJiguangId() {
        return jiguangId;
    }

    public void setJiguangId(String jiguangId) {
        this.jiguangId = jiguangId == null ? null : jiguangId.trim();
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public String getPhoneModel() {
        return phoneModel;
    }

    public void setPhoneModel(String phoneModel) {
        this.phoneModel = phoneModel == null ? null : phoneModel.trim();
    }

    public String getNums() {
        return nums;
    }

    public void setNums(String nums) {
        this.nums = nums;
    }

    public String getUserLabel() {
        return userLabel;
    }

    public void setUserLabel(String userLabel) {
        this.userLabel = userLabel;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getScoreSprite() {
        return scoreSprite;
    }

    public void setScoreSprite(String scoreSprite) {
        this.scoreSprite = scoreSprite;
    }

    public String getScoreViscera() {
        return scoreViscera;
    }

    public void setScoreViscera(String scoreViscera) {
        this.scoreViscera = scoreViscera;
    }

    public String getScoreSport() {
        return scoreSport;
    }

    public void setScoreSport(String scoreSport) {
        this.scoreSport = scoreSport;
    }

    public String getScoreSleep() {
        return scoreSleep;
    }

    public void setScoreSleep(String scoreSleep) {
        this.scoreSleep = scoreSleep;
    }

    public String getSysUserLabel() {
        return sysUserLabel;
    }

    public void setSysUserLabel(String sysUserLabel) {
        this.sysUserLabel = sysUserLabel;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Integer getCustomerServiceId() {
        return customerServiceId;
    }

    public void setCustomerServiceId(Integer customerServiceId) {
        this.customerServiceId = customerServiceId;
    }

    public String getGroups() {
        return groups;
    }

    public void setGroups(String groups) {
        this.groups = groups;
    }

    public String getContinue_all() {
        return continue_all;
    }

    public void setContinue_all(String continue_all) {
        this.continue_all = continue_all;
    }

    @Override
    public Date getTimeViscera() {
        return timeViscera;
    }

    public void setTimeViscera(Date timeViscera) {
        this.timeViscera = timeViscera;
    }

    @Override
    public Date getTimeSprite() {
        return timeSprite;
    }

    public void setTimeSprite(Date timeSprite) {
        this.timeSprite = timeSprite;
    }

    @Override
    public Date getTimeSleep() {
        return timeSleep;
    }

    public void setTimeSleep(Date timeSleep) {
        this.timeSleep = timeSleep;
    }

    @Override
    public Date getTimeSport() {
        return timeSport;
    }

    public void setTimeSport(Date timeSport) {
        this.timeSport = timeSport;
    }
}